package test;

import static org.junit.Assert.*;

import org.junit.Test;

import com.kiven.quicksort.QuickSort2;

public class QuickSortTest2 {

	@Test
	public void testRecursionSort() {
		int[] oldNums = {1,12,54,32,80,10};
		int[] newNums = {1,10,12,32,54,80};
		new QuickSort2().recursionSort(0, 5);
		assertArrayEquals(newNums, oldNums);
	}

}
